跳到主要内容Skip to main content

Tree of Thoughts(思维树)Tree of Thoughts

Tree of Thoughts

  • 智能体Agents
  • 第三段 · 用深Stage 3 · Going Deeper
  • 引用核验 2026-11-19refs checked 2026-11-19
解决什么问题What problem it solves

把一条思维链拆成可分支、可回退的搜索树,让模型在解题时试错。Turn a single chain of thought into a searchable tree of branches that can be scored and rolled back.

这是什么What it is

每个节点是一段中间思路,模型可以生成多个候选分支。

用评估函数给分支打分,保留有希望的、剪掉明显走不通的。

允许回退到上层节点重新展开,而不是沿着一条错路走到黑。

Each node is an intermediate thought; the model can expand several candidate branches.

An evaluator scores branches and prunes the clearly bad ones.

The search can backtrack to an earlier node instead of committing to one wrong path.

为什么需要知道Why it matters

复杂规划、数学题和多步写作经常「一步错、步步错」。思维树把一次性生成变成可搜索的过程。Complex planning, maths and multi-step writing often fail one step at a time. Tree of Thoughts makes generation searchable.

出处Sources
  • Tree of Thoughts 论文(arXiv)Tree of Thoughts: Deliberate Problem Solving with Large Language Models (arXiv 2305.10601) ↗
用这个术语做任务Use this term in a task

别停在定义:去任务手册看按什么顺序做、验收什么;或者按你手头的任务,筛 3 个工具候选。Don’t stop at the definition: use the task handbook for the order and checks, or filter three tool candidates for the job at hand.

任务手册 →Task handbooks → · 按任务筛 3 个候选 →Filter three candidates →